package com.jz.netthings.appengine.baseData;


import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@TableName("PROVIDERQUEUEDATA")
public class ProviderData implements Serializable {

    @TableId(value = "providerId")
    private long providerId;//浆员基本信息ID
    @TableField("providerNo")
    private String providerNo;//浆员卡号
    @TableField("idNo")
    private String idNo;//浆员身份证
    @TableField("name")
    private String name;//浆员姓名
    @TableField("sex")
    private String sex;//浆员姓名
    @TableField("photo")
    private byte[] photo;//浆员建档照片

    @TableField("regId")
    private int regId;//浆员登记记录ID
    @TableField("registerNo")
    private String registerNo;//浆员登记号（201909090009）
    @TableField("registerIdx")
    private int registerIdx;//浆员登记序号（9）
    @TableField("registerTime")
    private Date registerTime;//登记时间

    @TableField("bodyCheckId")
    private long bodyCheckId;//体检记录ID
    @TableField("bodyCheckNo")
    private String bodyCheckNo;//浆员体检号
    @TableField("bodyCheckCallTime")
    private Date bodyCheckCallTime;//体检叫号时间
    @TableField("bodyCheckPassTime")
    private Date bodyCheckPassTime;//体检结束时间
    @TableField("bodyIsPass")
    private boolean bodyIsPass;//体检是否通过
    @TableField("needXp")
    private boolean needXp;//是否需要重新拍胸片
    @TableField("needXpMsg")
    private String needXpMsg;//需要重新拍胸片给客户端的提示信息

    @TableField("assayId")
    private long assayId;//化检记录ID
    @TableField("needAssay")
    private boolean needAssay;//是否需要采浆前化检
    @TableField("assayCallTime")
    private Date assayCallTime;//小样采集时间
    @TableField("assayPassTime")
    private Date assayPassTime;//化检结束时间
    @TableField("assayIsPass")
    private boolean assayIsPass;//采浆前化检是否通过
    @TableField("allotCall")
    private boolean allotCall;//是否已经分配
    @TableField("allotTime")
    private Date allotTime;//分配时间

    @TableField("collectId")
    private long collectId;//采浆记录ID
    @TableField("collectStartTime")
    private Date collectStartTime;//采浆开始时间
    @TableField("collectFinishTime")
    private Date collectFinishTime;//采浆结束时间
    @TableField("machineCode")
    private String machineCode;//采浆机器号

    @TableField("needXqdy")
    private boolean needXqdy;//是否需要血清电泳
    @TableField("xqdyId")
    private String xqdyId;//血清电泳号

    @TableField("currentStatus")
    private int currentStatus;//当前状态
     /* public static final int		REGISTER	= 1;
    public static final int		BODYCALL		= 2;
    public static final int		BODYPASS		= 3;
    public static final int		ASSAYCALL		= 4;
    public static final int		ASSAYPASS		= 5;
    public static final int		ALLOTPASS		= 6;
    public static final int		COLLECTSTART	= 7;
    public static final int		COLLECTING		= 8;
    public static final int		COLLECTFINISH	= 9;*/

}
